#!bin/sh

DATE=`date`
echo "Date is $DATE"

startTime=`date +%Y%m%d-%H:%M`
 
startTime_s=`date +%s`

echo "Date is $startTime"


pwd
git --version
git config user.name 'Davis'
git config user.email '13918825181@qq.com'
git config --global core.quotepath false

#echo '正在git gc'
#git gc

echo '正在从远程库拉取本地库'

git pull origin master

echo '拉取最新成功'

 
endTime=`date +%Y%m%d-%H:%M` 
 
endTime_s=`date +%s`


sumTime=$[ $endTime_s - $startTime_s ]
 
echo "$startTime ---> $endTime" "Totl:$sumTime Second" 


#sleep 6s

 
